<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    alert('请输入你的分数')
    let score = prompt()
    if (score >= 90) {
      document.writeln('优秀')
    } else if (score >= 80 && score < 90) {
      document.writeln('不错')
    } else if (score >= 70 && score < 80) {
      document.writeln('一般')
    } else if (score >= 60 && score < 70) {
      document.writeln('菜')
    } else if (score < 60) {
      document.writeln('菜成啥了')
    }
  </script>
</body>

</html>